package com.yangjun.dao.mybatis.mapper.businessAnalysis.logisticsAnalysis;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yangjun.entity.businessAnalysis.logisticsAnalysis.CollectGoodsFailEntity;
import com.yangjun.entity.businessAnalysis.logisticsAnalysis.HostSaleGroupDetailsEntity;
import com.yangjun.entity.businessAnalysis.logisticsAnalysis.HostSaleGroupEntity;
import com.yangjun.entity.businessAnalysis.logisticsAnalysis.HostSaleSigleEntity;
import com.yangjun.entity.businessAnalysis.logisticsAnalysis.OverviewFormEntity;
import com.yangjun.entity.businessAnalysis.logisticsAnalysis.OverviewFormExcelEntity;
import com.yangjun.entity.businessAnalysis.logisticsAnalysis.RefundPackageDetailEntity;

public interface PackageEfficacyMapper {
	
	/**
	 * 总况 表格
	 * @param platform
	 * @param urgenttype
	 * @return
	 */
	OverviewFormEntity overviewForm(@Param(value="platform") String platform ,@Param(value="urgenttype") String urgenttype );
	Integer overviewFormToSynchronized(@Param(value="platform") String platform ,@Param(value="urgenttype") String urgenttype );
	OverviewFormEntity overviewFormCollectGoodsFail(@Param(value="platform") String platform ,@Param(value="urgenttype") String urgenttype );
	
	/**
	 * 导出总况excel
	 * @return
	 */
	List<OverviewFormExcelEntity> overviewFormExcel();

	
	
	
	/**
	 * 省市区接口
	 * @param level
	 * @return
	 */
	List<String> provinceList();
	List<String> provinceCityList(@Param(value="province") String province);
	List<String> CityDistrictList(@Param(value="city") String city);
	
	/**
	 * 退货包裹明细
	 * @param platform
	 * @return
	 */
	List<RefundPackageDetailEntity> refundPackage(@Param(value="platform") String platform);
	/**
	 * 集货失败
	 * @return
	 */
	List<CollectGoodsFailEntity> collectGoodsFail();
	
	
	/**
	 * 热销组合top前200
	 * @param platform
	 * @param urgenttype
	 * @param cycle
	 * @return
	 */
	List<HostSaleGroupEntity> hostSaleGroup(@Param(value="platform") String platform, @Param(value="urgenttype") String urgenttype,@Param(value="cycle") String cycle);
	
	
	
	/**
	 * 热销组合top前200 -- 详情
	 * @param platform
	 * @param urgenttype
	 * @param cycle
	 * @param kitcode
	 * @return
	 */
	List<HostSaleGroupDetailsEntity> hostSaleGroupDetails(@Param(value="platform") String platform, @Param(value="urgenttype") String urgenttype,
			@Param(value="cycle") String cycle,@Param(value="kitcode") String kitcode);
	
	
	List<HostSaleGroupDetailsEntity> hostSaleGroupDetailsExcel(@Param(value="platform") String platform, @Param(value="urgenttype") String urgenttype,
			@Param(value="cycle") String cycle);
	
	
	/**
	 * 热销单品top前200
	 * @param platform
	 * @param urgenttype
	 * @param cycle
	 * @return
	 */
	List<HostSaleSigleEntity> hostSaleSigle(@Param(value="platform") String platform, @Param(value="urgenttype") String urgenttype,@Param(value="cycle") String cycle);
	
	
}
